package com.zhong.beautifulimageapp.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by 俊峰 on 2017/7/26.
 */

public class UserDetailInfo {


    /**
     * success : true
     * data : {"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120","githubUsername":"alsotang","create_at":"2012-09-09T05:26:58.319Z","score":14575,"recent_topics":[{"id":"5843092c3ebad99b336b1d48","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"使用 generator 按行读取文件的库，co-readline","last_reply_at":"2016-12-04T13:57:30.730Z"},{"id":"58351689bde2b59e06141e9f","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"【腾讯】各种岗位均可内推，前后端均可","last_reply_at":"2017-06-08T01:47:21.516Z"},{"id":"580ddc2eeae2a24f34e67e69","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"这，就是技术人的江湖","last_reply_at":"2016-12-26T09:56:28.855Z"},{"id":"580460a5fdf3bd3d651186d1","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"推荐你心中的CNode「极客代言人」，打造《中国技术社群英雄谱》","last_reply_at":"2016-10-24T04:09:13.002Z"},{"id":"57ee19c93670ca3f44c5bfde","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"从url中解析出域名、子域名和有效顶级域名","last_reply_at":"2017-04-11T01:47:09.793Z"},{"id":"57e917e2bb55ef3e1a17fcbd","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"https 免费证书获取指引","last_reply_at":"2017-06-22T01:14:19.918Z"},{"id":"57e2520a7e77820e3acfe0ed","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"【深圳】腾讯云 CDN 前端团队诚招高级工程师","last_reply_at":"2016-11-17T13:21:42.774Z"},{"id":"57c6a1d492fad7e46b4169b5","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"一个模块：forceinterval，可无缝替换许多 setInterval 的场景","last_reply_at":"2016-08-31T10:17:33.671Z"},{"id":"5759bef0e5fa62531af6e151","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"async/await 比 yield 好在哪里？","last_reply_at":"2016-06-22T11:31:49.232Z"},{"id":"572afb6b15c24e592c16e1e6","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"新的社区推荐客户端：Noder","last_reply_at":"2016-07-07T13:24:42.321Z"},{"id":"570924d294b38dcb3c09a7a0","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"timer 的 unref 函数","last_reply_at":"2016-12-08T16:22:09.653Z"},{"id":"570907402a1f230a25be8aab","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"【深圳】NodeParty 2016.04.09 总结","last_reply_at":"2016-05-04T07:03:08.211Z"},{"id":"56f364c7532839c33a99d17e","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"【深圳】NodeParty at 腾讯大厦 2016.04.09","last_reply_at":"2016-04-09T07:31:57.629Z"},{"id":"56a3c5d77ec020ed4b96b2cc","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"微博上前端撕得那么狠，没撕到我们 Node 社区来....","last_reply_at":"2016-08-12T20:12:36.031Z"},{"id":"565c6973c4fa25cb27cc3c81","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"js 中文字符串判断（根据 unicode 编码区间判断）","last_reply_at":"2016-08-31T10:05:26.532Z"}],"recent_replies":[{"id":"596d770c8f05de0819fdb2b5","author":{"loginname":"atian25","avatar_url":"https://avatars1.githubusercontent.com/u/227713?v=3&s=120"},"title":"做个调查，你的 Node 应用有单元测试吗？","last_reply_at":"2017-07-22T09:04:14.674Z"},{"id":"596f0dcf68aa87c774e5e97a","author":{"loginname":"i5ting","avatar_url":"https://avatars0.githubusercontent.com/u/3118295?v=3&s=120"},"title":"es8规范","last_reply_at":"2017-07-20T11:41:40.690Z"},{"id":"5848e944f3576dd333f86ace","author":{"loginname":"dpc761218914","avatar_url":"https://avatars0.githubusercontent.com/u/16233212?v=3&s=120"},"title":"有没有的node商城类后台项目可以学习？","last_reply_at":"2017-07-20T03:51:30.220Z"},{"id":"596ec7208f05de0819fdb315","author":{"loginname":"ipengyo","avatar_url":"https://avatars2.githubusercontent.com/u/9323722?v=3&s=120"},"title":"cnode有些代码没有事务性的操作保护，没问题么？","last_reply_at":"2017-07-19T03:39:24.773Z"},{"id":"5969d38eaf1a22d018d96fa7","author":{"loginname":"zhanzhenzhen","avatar_url":"https://avatars7.githubusercontent.com/u/731796?v=4&s=120"},"title":"Lock到底好不好？","last_reply_at":"2017-07-17T12:24:31.917Z"}]}
     */

    @SerializedName("success")
    private boolean success;
    @SerializedName("data")
    private DataBean data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * loginname : alsotang
         * avatar_url : https://avatars2.githubusercontent.com/u/1147375?v=3&s=120
         * githubUsername : alsotang
         * create_at : 2012-09-09T05:26:58.319Z
         * score : 14575
         * recent_topics : [{"id":"5843092c3ebad99b336b1d48","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"使用 generator 按行读取文件的库，co-readline","last_reply_at":"2016-12-04T13:57:30.730Z"},{"id":"58351689bde2b59e06141e9f","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"【腾讯】各种岗位均可内推，前后端均可","last_reply_at":"2017-06-08T01:47:21.516Z"},{"id":"580ddc2eeae2a24f34e67e69","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"这，就是技术人的江湖","last_reply_at":"2016-12-26T09:56:28.855Z"},{"id":"580460a5fdf3bd3d651186d1","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"推荐你心中的CNode「极客代言人」，打造《中国技术社群英雄谱》","last_reply_at":"2016-10-24T04:09:13.002Z"},{"id":"57ee19c93670ca3f44c5bfde","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"从url中解析出域名、子域名和有效顶级域名","last_reply_at":"2017-04-11T01:47:09.793Z"},{"id":"57e917e2bb55ef3e1a17fcbd","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"https 免费证书获取指引","last_reply_at":"2017-06-22T01:14:19.918Z"},{"id":"57e2520a7e77820e3acfe0ed","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"【深圳】腾讯云 CDN 前端团队诚招高级工程师","last_reply_at":"2016-11-17T13:21:42.774Z"},{"id":"57c6a1d492fad7e46b4169b5","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"一个模块：forceinterval，可无缝替换许多 setInterval 的场景","last_reply_at":"2016-08-31T10:17:33.671Z"},{"id":"5759bef0e5fa62531af6e151","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"async/await 比 yield 好在哪里？","last_reply_at":"2016-06-22T11:31:49.232Z"},{"id":"572afb6b15c24e592c16e1e6","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"新的社区推荐客户端：Noder","last_reply_at":"2016-07-07T13:24:42.321Z"},{"id":"570924d294b38dcb3c09a7a0","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"timer 的 unref 函数","last_reply_at":"2016-12-08T16:22:09.653Z"},{"id":"570907402a1f230a25be8aab","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"【深圳】NodeParty 2016.04.09 总结","last_reply_at":"2016-05-04T07:03:08.211Z"},{"id":"56f364c7532839c33a99d17e","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"【深圳】NodeParty at 腾讯大厦 2016.04.09","last_reply_at":"2016-04-09T07:31:57.629Z"},{"id":"56a3c5d77ec020ed4b96b2cc","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"微博上前端撕得那么狠，没撕到我们 Node 社区来....","last_reply_at":"2016-08-12T20:12:36.031Z"},{"id":"565c6973c4fa25cb27cc3c81","author":{"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"},"title":"js 中文字符串判断（根据 unicode 编码区间判断）","last_reply_at":"2016-08-31T10:05:26.532Z"}]
         * recent_replies : [{"id":"596d770c8f05de0819fdb2b5","author":{"loginname":"atian25","avatar_url":"https://avatars1.githubusercontent.com/u/227713?v=3&s=120"},"title":"做个调查，你的 Node 应用有单元测试吗？","last_reply_at":"2017-07-22T09:04:14.674Z"},{"id":"596f0dcf68aa87c774e5e97a","author":{"loginname":"i5ting","avatar_url":"https://avatars0.githubusercontent.com/u/3118295?v=3&s=120"},"title":"es8规范","last_reply_at":"2017-07-20T11:41:40.690Z"},{"id":"5848e944f3576dd333f86ace","author":{"loginname":"dpc761218914","avatar_url":"https://avatars0.githubusercontent.com/u/16233212?v=3&s=120"},"title":"有没有的node商城类后台项目可以学习？","last_reply_at":"2017-07-20T03:51:30.220Z"},{"id":"596ec7208f05de0819fdb315","author":{"loginname":"ipengyo","avatar_url":"https://avatars2.githubusercontent.com/u/9323722?v=3&s=120"},"title":"cnode有些代码没有事务性的操作保护，没问题么？","last_reply_at":"2017-07-19T03:39:24.773Z"},{"id":"5969d38eaf1a22d018d96fa7","author":{"loginname":"zhanzhenzhen","avatar_url":"https://avatars7.githubusercontent.com/u/731796?v=4&s=120"},"title":"Lock到底好不好？","last_reply_at":"2017-07-17T12:24:31.917Z"}]
         */

        @SerializedName("loginname")
        private String loginname;
        @SerializedName("avatar_url")
        private String avatar_url;
        @SerializedName("githubUsername")
        private String githubUsername;
        @SerializedName("create_at")
        private String create_at;
        @SerializedName("score")
        private int score;
        @SerializedName("recent_topics")
        private List<RecentTopicsBean> recent_topics;
        @SerializedName("recent_replies")
        private List<RecentRepliesBean> recent_replies;

        public String getLoginname() {
            return loginname;
        }

        public void setLoginname(String loginname) {
            this.loginname = loginname;
        }

        public String getAvatar_url() {
            return avatar_url;
        }

        public void setAvatar_url(String avatar_url) {
            this.avatar_url = avatar_url;
        }

        public String getGithubUsername() {
            return githubUsername;
        }

        public void setGithubUsername(String githubUsername) {
            this.githubUsername = githubUsername;
        }

        public String getCreate_at() {
            return create_at;
        }

        public void setCreate_at(String create_at) {
            this.create_at = create_at;
        }

        public int getScore() {
            return score;
        }

        public void setScore(int score) {
            this.score = score;
        }

        public List<RecentTopicsBean> getRecent_topics() {
            return recent_topics;
        }

        public void setRecent_topics(List<RecentTopicsBean> recent_topics) {
            this.recent_topics = recent_topics;
        }

        public List<RecentRepliesBean> getRecent_replies() {
            return recent_replies;
        }

        public void setRecent_replies(List<RecentRepliesBean> recent_replies) {
            this.recent_replies = recent_replies;
        }

        public static class RecentTopicsBean {
            /**
             * id : 5843092c3ebad99b336b1d48
             * author : {"loginname":"alsotang","avatar_url":"https://avatars2.githubusercontent.com/u/1147375?v=3&s=120"}
             * title : 使用 generator 按行读取文件的库，co-readline
             * last_reply_at : 2016-12-04T13:57:30.730Z
             */

            @SerializedName("id")
            private String id;
            @SerializedName("author")
            private AuthorBean author;
            @SerializedName("title")
            private String title;
            @SerializedName("last_reply_at")
            private String last_reply_at;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public AuthorBean getAuthor() {
                return author;
            }

            public void setAuthor(AuthorBean author) {
                this.author = author;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getLast_reply_at() {
                return last_reply_at;
            }

            public void setLast_reply_at(String last_reply_at) {
                this.last_reply_at = last_reply_at;
            }

            public static class AuthorBean {
                /**
                 * loginname : alsotang
                 * avatar_url : https://avatars2.githubusercontent.com/u/1147375?v=3&s=120
                 */

                @SerializedName("loginname")
                private String loginname;
                @SerializedName("avatar_url")
                private String avatar_url;

                public String getLoginname() {
                    return loginname;
                }

                public void setLoginname(String loginname) {
                    this.loginname = loginname;
                }

                public String getAvatar_url() {
                    return avatar_url;
                }

                public void setAvatar_url(String avatar_url) {
                    this.avatar_url = avatar_url;
                }
            }
        }

        public static class RecentRepliesBean {
            /**
             * id : 596d770c8f05de0819fdb2b5
             * author : {"loginname":"atian25","avatar_url":"https://avatars1.githubusercontent.com/u/227713?v=3&s=120"}
             * title : 做个调查，你的 Node 应用有单元测试吗？
             * last_reply_at : 2017-07-22T09:04:14.674Z
             */

            @SerializedName("id")
            private String id;
            @SerializedName("author")
            private AuthorBeanX author;
            @SerializedName("title")
            private String title;
            @SerializedName("last_reply_at")
            private String last_reply_at;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public AuthorBeanX getAuthor() {
                return author;
            }

            public void setAuthor(AuthorBeanX author) {
                this.author = author;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getLast_reply_at() {
                return last_reply_at;
            }

            public void setLast_reply_at(String last_reply_at) {
                this.last_reply_at = last_reply_at;
            }

            public static class AuthorBeanX {
                /**
                 * loginname : atian25
                 * avatar_url : https://avatars1.githubusercontent.com/u/227713?v=3&s=120
                 */

                @SerializedName("loginname")
                private String loginname;
                @SerializedName("avatar_url")
                private String avatar_url;

                public String getLoginname() {
                    return loginname;
                }

                public void setLoginname(String loginname) {
                    this.loginname = loginname;
                }

                public String getAvatar_url() {
                    return avatar_url;
                }

                public void setAvatar_url(String avatar_url) {
                    this.avatar_url = avatar_url;
                }
            }
        }
    }
}
